using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Joy.Erp.BasicArchives.Core.Filters;

namespace Joy.Erp.BasicArchives.Production
{
    public interface IPlanOrderTypeAppService
    {
        Task<PlanOrderTypeDto> GetAsync(Guid id);
        Task<PlanOrderTypeDto> FindAsync(string filter);
        Task<PlanOrderTypeDto> FindBySourceKeyAsync(string sourceKey, string sourceType);
        Task<PagedResultDto<PlanOrderTypeDto>> GetListAsync(FilterRequestDto input);
        Task<PagedResultDto<PlanOrderTypeDto>> QueryAsync(FilterGroupRequestDto input);
        Task<PlanOrderTypeDto> CreateAsync(PlanOrderTypeCreateDto input);
        Task<PlanOrderTypeDto> UpdateAsync(Guid id, PlanOrderTypeUpdateDto input);
        Task DeleteAsync(Guid id);
    }
}